import express from "express";
// @ts-ignore
import {john} from './foo.bs'

const app = express();

// your beautiful code...
app.get('/', (_, res) => {
  res.json({
    john
  })
})

if (import.meta.env.PROD)
  app.listen(3000);

export const viteNodeApp = app;